package Model;

public class CheckerState {
	public final static int Comment = 0;
	public final static int Text = 1;
	public final static int Normal = 2;
	
	private int value;
	private int index;
	public CheckerState()
	{
		value = Normal; 
		index = 0;
	}
	
	public int getState()
	{
		return value;
	}
	
	public void setState(int state, int index)
	{		
		this.index = index;
		value = state;
	}
	
	public int getIndex()
	{
		return index;
	}
	
}
